package com.lisp.springframework.core.xml;

import org.springframework.beans.factory.FactoryBean;

public class MyFactoryBean implements FactoryBean<Object> {

    private static final MyBean instance = new MyBean();
    
    @Override
    public Object getObject() throws Exception {
        return instance;
    }

    @Override
    public Class<? extends MyBean> getObjectType() {
        return instance.getClass();
    }

}
